﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001237 RID: 4663
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartTimedFarmElementCsReq : IMessage<StartTimedFarmElementCsReq>, IMessage, IEquatable<StartTimedFarmElementCsReq>, IDeepCloneable<StartTimedFarmElementCsReq>, IBufferMessage
	{
		// Token: 0x17003B28 RID: 15144
		// (get) Token: 0x0600D131 RID: 53553 RVA: 0x00233DC1 File Offset: 0x00231FC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartTimedFarmElementCsReq> Parser
		{
			get
			{
				return StartTimedFarmElementCsReq._parser;
			}
		}

		// Token: 0x17003B29 RID: 15145
		// (get) Token: 0x0600D132 RID: 53554 RVA: 0x00233DC8 File Offset: 0x00231FC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartTimedFarmElementCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003B2A RID: 15146
		// (get) Token: 0x0600D133 RID: 53555 RVA: 0x00233DDA File Offset: 0x00231FDA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartTimedFarmElementCsReq.Descriptor;
			}
		}

		// Token: 0x0600D134 RID: 53556 RVA: 0x00233DE1 File Offset: 0x00231FE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTimedFarmElementCsReq()
		{
		}

		// Token: 0x0600D135 RID: 53557 RVA: 0x00233DE9 File Offset: 0x00231FE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTimedFarmElementCsReq(StartTimedFarmElementCsReq other) : this()
		{
			this.mEGEJFGAKDL_ = other.mEGEJFGAKDL_;
			this.worldLevel_ = other.worldLevel_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D136 RID: 53558 RVA: 0x00233E1A File Offset: 0x0023201A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTimedFarmElementCsReq Clone()
		{
			return new StartTimedFarmElementCsReq(this);
		}

		// Token: 0x17003B2B RID: 15147
		// (get) Token: 0x0600D137 RID: 53559 RVA: 0x00233E22 File Offset: 0x00232022
		// (set) Token: 0x0600D138 RID: 53560 RVA: 0x00233E2A File Offset: 0x0023202A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MEGEJFGAKDL
		{
			get
			{
				return this.mEGEJFGAKDL_;
			}
			set
			{
				this.mEGEJFGAKDL_ = value;
			}
		}

		// Token: 0x17003B2C RID: 15148
		// (get) Token: 0x0600D139 RID: 53561 RVA: 0x00233E33 File Offset: 0x00232033
		// (set) Token: 0x0600D13A RID: 53562 RVA: 0x00233E3B File Offset: 0x0023203B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint WorldLevel
		{
			get
			{
				return this.worldLevel_;
			}
			set
			{
				this.worldLevel_ = value;
			}
		}

		// Token: 0x0600D13B RID: 53563 RVA: 0x00233E44 File Offset: 0x00232044
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartTimedFarmElementCsReq);
		}

		// Token: 0x0600D13C RID: 53564 RVA: 0x00233E52 File Offset: 0x00232052
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartTimedFarmElementCsReq other)
		{
			return other != null && (other == this || (this.MEGEJFGAKDL == other.MEGEJFGAKDL && this.WorldLevel == other.WorldLevel && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D13D RID: 53565 RVA: 0x00233E90 File Offset: 0x00232090
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MEGEJFGAKDL != 0U)
			{
				num ^= this.MEGEJFGAKDL.GetHashCode();
			}
			if (this.WorldLevel != 0U)
			{
				num ^= this.WorldLevel.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D13E RID: 53566 RVA: 0x00233EE8 File Offset: 0x002320E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D13F RID: 53567 RVA: 0x00233EF0 File Offset: 0x002320F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D140 RID: 53568 RVA: 0x00233EFC File Offset: 0x002320FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MEGEJFGAKDL != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.MEGEJFGAKDL);
			}
			if (this.WorldLevel != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.WorldLevel);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D141 RID: 53569 RVA: 0x00233F58 File Offset: 0x00232158
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MEGEJFGAKDL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MEGEJFGAKDL);
			}
			if (this.WorldLevel != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.WorldLevel);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D142 RID: 53570 RVA: 0x00233FB0 File Offset: 0x002321B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartTimedFarmElementCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MEGEJFGAKDL != 0U)
			{
				this.MEGEJFGAKDL = other.MEGEJFGAKDL;
			}
			if (other.WorldLevel != 0U)
			{
				this.WorldLevel = other.WorldLevel;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D143 RID: 53571 RVA: 0x00234000 File Offset: 0x00232200
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D144 RID: 53572 RVA: 0x0023400C File Offset: 0x0023220C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 48U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.WorldLevel = input.ReadUInt32();
					}
				}
				else
				{
					this.MEGEJFGAKDL = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040053E3 RID: 21475
		private static readonly MessageParser<StartTimedFarmElementCsReq> _parser = new MessageParser<StartTimedFarmElementCsReq>(() => new StartTimedFarmElementCsReq());

		// Token: 0x040053E4 RID: 21476
		private UnknownFieldSet _unknownFields;

		// Token: 0x040053E5 RID: 21477
		public const int MEGEJFGAKDLFieldNumber = 4;

		// Token: 0x040053E6 RID: 21478
		private uint mEGEJFGAKDL_;

		// Token: 0x040053E7 RID: 21479
		public const int WorldLevelFieldNumber = 6;

		// Token: 0x040053E8 RID: 21480
		private uint worldLevel_;
	}
}
